package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the TA_SOLI_DEVO database table.
 * 
 */
@Entity
@Table(name="TA_SOLI_DEVO")
public class TaSoliDevo implements Serializable {
	private static final long serialVersionUID = 1L;
	private long idSoliDevo;
	private String aaTram;
	private BigDecimal cuentaId;
	private BigDecimal cuentaIdDev;
	private String esta;
	private Date feInfo;
	private Date feReso;
	private Date feSoli;
	private Date feTram;
	private BigDecimal monto;
	private String nuInfo;
	private String nuReso;
	private String nuTram;
	private String oficRegId;
	private String regPubId;
	private BigDecimal solicitudId;
	private String tipoUsr;

    public TaSoliDevo() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="ID_SOLI_DEVO", unique=true, nullable=false, precision=12)
	public long getIdSoliDevo() {
		return this.idSoliDevo;
	}

	public void setIdSoliDevo(long idSoliDevo) {
		this.idSoliDevo = idSoliDevo;
	}


	@Column(name="AA_TRAM", length=4)
	public String getAaTram() {
		return this.aaTram;
	}

	public void setAaTram(String aaTram) {
		this.aaTram = aaTram;
	}


	@Column(name="CUENTA_ID")
	public BigDecimal getCuentaId() {
		return this.cuentaId;
	}

	public void setCuentaId(BigDecimal cuentaId) {
		this.cuentaId = cuentaId;
	}


	@Column(name="CUENTA_ID_DEV", precision=22)
	public BigDecimal getCuentaIdDev() {
		return this.cuentaIdDev;
	}

	public void setCuentaIdDev(BigDecimal cuentaIdDev) {
		this.cuentaIdDev = cuentaIdDev;
	}


	@Column(length=1)
	public String getEsta() {
		return this.esta;
	}

	public void setEsta(String esta) {
		this.esta = esta;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FE_INFO")
	public Date getFeInfo() {
		return this.feInfo;
	}

	public void setFeInfo(Date feInfo) {
		this.feInfo = feInfo;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FE_RESO")
	public Date getFeReso() {
		return this.feReso;
	}

	public void setFeReso(Date feReso) {
		this.feReso = feReso;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FE_SOLI")
	public Date getFeSoli() {
		return this.feSoli;
	}

	public void setFeSoli(Date feSoli) {
		this.feSoli = feSoli;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FE_TRAM")
	public Date getFeTram() {
		return this.feTram;
	}

	public void setFeTram(Date feTram) {
		this.feTram = feTram;
	}


	@Column(precision=22)
	public BigDecimal getMonto() {
		return this.monto;
	}

	public void setMonto(BigDecimal monto) {
		this.monto = monto;
	}


	@Column(name="NU_INFO", length=50)
	public String getNuInfo() {
		return this.nuInfo;
	}

	public void setNuInfo(String nuInfo) {
		this.nuInfo = nuInfo;
	}


	@Column(name="NU_RESO", length=50)
	public String getNuReso() {
		return this.nuReso;
	}

	public void setNuReso(String nuReso) {
		this.nuReso = nuReso;
	}


	@Column(name="NU_TRAM", length=6)
	public String getNuTram() {
		return this.nuTram;
	}

	public void setNuTram(String nuTram) {
		this.nuTram = nuTram;
	}


	@Column(name="OFIC_REG_ID", length=2)
	public String getOficRegId() {
		return this.oficRegId;
	}

	public void setOficRegId(String oficRegId) {
		this.oficRegId = oficRegId;
	}


	@Column(name="REG_PUB_ID", length=2)
	public String getRegPubId() {
		return this.regPubId;
	}

	public void setRegPubId(String regPubId) {
		this.regPubId = regPubId;
	}


	@Column(name="SOLICITUD_ID")
	public BigDecimal getSolicitudId() {
		return this.solicitudId;
	}

	public void setSolicitudId(BigDecimal solicitudId) {
		this.solicitudId = solicitudId;
	}


	@Column(name="TIPO_USR", length=1)
	public String getTipoUsr() {
		return this.tipoUsr;
	}

	public void setTipoUsr(String tipoUsr) {
		this.tipoUsr = tipoUsr;
	}

}